Skip to content

Conversation

AbhiPrasad
Copy link
Member

This should help reduce the memory pressure of the SDK.

#15528

Draft because I need to think about how to test this.

@AbhiPrasad AbhiPrasad requested review from a team and timfish March 3, 2025 16:16
@AbhiPrasad AbhiPrasad self-assigned this Mar 3, 2025
@AbhiPrasad AbhiPrasad requested review from chargome and mydea and removed request for a team March 3, 2025 16:16
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.14 KB - -
@sentry/browser - with treeshaking flags 22.92 KB - -
@sentry/browser (incl. Tracing) 36.2 KB - -
@sentry/browser (incl. Tracing, Replay) 73.38 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.79 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 78 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 90.56 KB - -
@sentry/browser (incl. Feedback) 40.29 KB - -
@sentry/browser (incl. sendFeedback) 27.77 KB - -
@sentry/browser (incl. FeedbackAsync) 32.57 KB - -
@sentry/react 24.95 KB - -
@sentry/react (incl. Tracing) 38.08 KB - -
@sentry/vue 27.38 KB - -
@sentry/vue (incl. Tracing) 37.89 KB - -
@sentry/svelte 23.17 KB - -
CDN Bundle 24.34 KB - -
CDN Bundle (incl. Tracing) 36.24 KB - -
CDN Bundle (incl. Tracing, Replay) 71.25 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 76.43 KB - -
CDN Bundle - uncompressed 71.13 KB - -
CDN Bundle (incl. Tracing) - uncompressed 107.51 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.78 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.34 KB - -
@sentry/nextjs (client) 39.26 KB - -
@sentry/sveltekit (client) 36.62 KB - -
@sentry/node 142.19 KB +0.04% +48 B 🔺
@sentry/node - without tracing 95.61 KB +0.04% +35 B 🔺
@sentry/aws-serverless 119.95 KB +0.03% +30 B 🔺

View base workflow run

const instrumentation = this;

// @ts-expect-error: FinalizationRegistry is not yet in the Node types
const finalizationRegistry = new FinalizationRegistry((isolationScope: Scope) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to tryCatch this for legacy browsers?

@AbhiPrasad AbhiPrasad closed this Mar 4, 2025
@AbhiPrasad AbhiPrasad deleted the abhi-remove-normalized-request-from-scope branch March 4, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants